<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>分类页面</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="assets/mui/css/mui.min.css">
    <!--引入css-->
    <link rel="stylesheet" href="css/base.css"/>
    <link rel="stylesheet" href="css/category.css"/>
    <!--引入字体图标-->
    <link rel="stylesheet" href="assets/fontAwesome/css/font-awesome.min.css"/>
    <script src="assets/mui/js/mui.min.js"></script>
    <!--引入zepto.js-->
    <script src="js/zepto.min.js"></script>
    <script src="js/category.js"></script>
    <!--引入template模板-->
    <script src="js/template.js"></script>
    <!--引入公共js-->
    <script src="js/public.js"></script>
</head>
<body>
<header class="mui-bar mui-bar-nav my-header">
    <h1 class="mui-title">乐淘云购</h1>
    <a class="mui-icon mui-icon-search mui-pull-right" href="search.html"></a>
</header>
<nav class="mui-bar mui-bar-tab my-footer">
    <a class="mui-tab-item" href="index.html">
        <span class="mui-icon mui-icon-home"></span>
        <span class="mui-tab-label">首页</span>
    </a>
    <a class="mui-tab-item mui-active" href="category.html">
        <span class="mui-icon mui-icon-bars"></span>
        <span class="mui-tab-label">分类</span>
    </a>
    <a class="mui-tab-item" href="cart.html">
        <span class="fa fa-shopping-cart"></span>
        <span class="mui-tab-label">购物车</span>
    </a>
    <a class="mui-tab-item" href="user.html">
        <span class="mui-icon mui-icon-person"></span>
        <span class="mui-tab-label">会员中心</span>
    </a>
</nav>

<!--引入模板-->
<script type="text/template" id="categoryLeft">
   {{each item}}
      <li data-id="{{$value.id}}">{{$value.categoryName}}</li>
   {{/each}}
</script>

<!--引入模板-->
<script type="text/template" id="categoryRight">
    {{each item}}
       <li>
           <a href="javaScript:;">
               <img src="{{$value.brandLogo}}" alt=""/>
               <p>{{$value.brandName}}</p>
           </a>
       </li>
    {{/each}}
</script>

<div class="mui-content">
    <div class="category_left">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
                <!--这里放置真实显示的DOM内容-->
                <ul>
                    <!--<li class="now">运动馆</li>-->
                    <!--<li>女士馆</li>-->
                    <!--<li>男士馆</li>-->
                    <!--<li>机布馆</li>-->
                    <!--<li>户外馆</li>-->
                    <!--<li>户外馆</li>-->
                    <!--<li>户外馆</li>-->
                    <!--<li>户外馆</li>-->
                    <!--<li>户外馆</li>-->
                    <!--<li>户外馆</li>-->
                    <!--<li>户外馆</li>-->
                    <!--<li>户外馆</li>-->
                </ul>
            </div>
        </div>
    </div>
    <div class="category_right">
        <ul>
            <!--<li><a href="javaScript:;"><img src="images/brand1.png" alt=""/></a></li>-->
            <!--<li><a href="javaScript:;"><img src="images/brand2.png" alt=""/></a></li>-->
            <!--<li><a href="javaScript:;"><img src="images/brand3.png" alt=""/></a></li>-->
            <!--<li><a href="javaScript:;"><img src="images/brand4.png" alt=""/></a></li>-->
            <!--<li><a href="javaScript:;"><img src="images/brand5.png" alt=""/></a></li>-->
            <!--<li><a href="javaScript:;"><img src="images/brand6.png" alt=""/></a></li>-->
            <!--<li><a href="javaScript:;"><img src="images/brand7.png" alt=""/></a></li>-->
            <!--<li><a href="javaScript:;"><img src="images/brand8.png" alt=""/></a></li>-->
        </ul>
    </div>
</div>

<!--引入category.js-->
<script src="js/category.js"></script>
</body>
</html>